#include <iostream>
class Intreg
{
      double sir[100];
public:
      void adaugaElement(double);
      void sortare(int);
      void sortareDescr(int);
      void sortareCresc(int);
      void sortareDescr();
      bool apartine(int);
friend std::ostream& operator<<(std::ostream&,Intreg&);
};


